<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="UTF-8">
	<!-- <meta http-equiv="Content-Type" content="Text/html; charset=utf8" /> -->
</head>
<body>
<!-- 页面的头部分 -->
	<style type="text/css">
#header-div {
  background: #333;
  border-bottom: 1px solid #FFF;
}

#logo-div {
  height: 50px;
  float: left;
}

#license-div {
  height: 50px;
  float: left;
  text-align:center;
  vertical-align:middle;
  line-height:50px;
}

#license-div a:visited, #license-div a:link {
  color: #EB8A3D;
}

#license-div a:hover {
  text-decoration: none;
  color: #EB8A3D;
}

#submenu-div {
  height: 50px;
}

#submenu-div ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#submenu-div li {
  float: right;
  padding: 0 10px;
  margin: 3px 0;
  border-left: 1px solid #FFF;
}

#submenu-div a:visited, #submenu-div a:link {
  color: #FFF;
  text-decoration: none;
}

#submenu-div a:hover {
  color: #F5C29A;
}

#loading-div {
  clear: right;
  text-align: right;
  display: block;
}

#menu-div {
  background: #777;
  font-weight: bold;
  height: 24px;
  line-height:24px;
}

#menu-div ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#menu-div li {
  float: left;
  border-right: 1px solid #192E32;
  border-left:1px solid #BBDDE5;
}

#menu-div a:visited, #menu-div a:link {
  display:block;
  padding: 0 20px;
  text-decoration: none;
  color: #335B64;
  background:#9CCBD6;
}

#menu-div a:hover {
  color: #000;
  background:#80BDCB;
}

#submenu-div a.fix-submenu{clear:both; margin-left:5px; padding:1px 5px; *padding:3px 5px 5px; background:#DDEEF2; color:#278296;}
#submenu-div a.fix-submenu:hover{padding:1px 5px; *padding:3px 5px 5px; background:#FFF; color:#278296;}
#menu-div li.fix-spacel{width:30px; border-left:none;}
#menu-div li.fix-spacer{border-right:none;}
</style>


<div id="header-div">
  <div style="bgcolor:#000000;" id="logo-div"><img alt="admin" src="/quicklife/2/Public/Images/ad_logo.png"></div>
  <div style="bgcolor:#000000;" id="license-div"></div>
  <div id="submenu-div">
    <div style="padding: 5px 10px 0 0; clear:right;text-align: right; color: #FF9900;width:40%;float: right;" id="send_info">
            <a class="fix-submenu" target="main-frame" href="index.php?act=clear_cache">清除缓存</a>
      <a class="fix-submenu" target="_top" href="privilege.php?act=logout">退出</a>
    </div>
        <div style="padding: 5px 10px 0pt 0pt; text-align: right; color: rgb(255, 153, 0); display: none; width: 40%; float: right;" id="load-div"><img width="16" height="16" style="vertical-align: middle" alt="正在处理您的请求..." src="/quicklife/2/Public/Images/top_loader.gif"> 正在处理您的请求...</div>
  </div>
</div>
<div id="menu-div">
  <ul>
        <li class="fix-spacel">&nbsp;</li>
        <li class="fix-spacer">你好<?php echo (session('admin_name')); ?>， 你上次的登录时间是：<?php echo (date('Y-m-d h点i分s秒',time(date('Y-m-d g:i a',time())))); ?></li>
        <li class="fix-spacer">&nbsp;</li>
  </ul>
  <br class="clear">
</div>
	<div>
	<!-- 页面的菜单部分 -->
	﻿<style type="text/css">
	ul,li {
		margin:0px;
		padding: 0px;
		list-style-type: none;
	}
	.menu_ul_p{
		
	}
	.menu_ul_s{
		margin-left:20px;
	}
	#menu {
		background-color: #666;
		min-width:250px;
		float:left;
		min-height:500px;
	}
</style>


<div id="menu">
	<?php if(is_array($auth_info_p)): foreach($auth_info_p as $key=>$vop): ?><ul class="menu_ul_p">
			<li><?php echo ($vop["auth_name"]); ?></li>
				<ul  class="menu_ul_s">
					<?php if(is_array($auth_info_s)): foreach($auth_info_s as $key=>$vos): if($vop['auth_id'] == $vos['auth_pid']): ?><li class="menu-item"><a href="/quicklife/2/Admin/<?php echo ($vos["auth_c"]); ?>/<?php echo ($vos["auth_a"]); ?>"><?php echo ($vos["auth_name"]); ?></a></li><?php endif; endforeach; endif; ?>
				</ul>
		</ul><?php endforeach; endif; ?>
</div>
	<!-- 内容显示部分 -->
	<style type="text/css">
	#content-out {
		background-color: #123;
		width:100%;
	}
	#content {
		margin-left:250px;
		background-color: #234;
		min-height:500px;
	}
</style>
<div id="content-out">
	<div id="content">
		<?php echo ($content); ?>
	</div>
</div>
	</div>
	<!-- 页面的脚部分 -->
	﻿<style type="text/css">
	#footer {
        background: #00828A;
        width: 100%;
        height: 50px;
        position: fixed;
        bottom: 0;
    }
</style>

<div id="footer">
	

</div>
</body>
</html>